It has been narrated on the authority of Abdullah b. Umar that the Messenger of Allah (ﷺ) used to forbid that one should travel to the land of the enemy taking the Qur'an (with him) lest it should fall into the hands of the enemy. - Hadith Muslim 1869b (islam)
Book 33, Hadith 136
Book 20, Hadith 4608